package com.jilefojing.beans.pojos.enhanced;

import java.util.Date;
import com.jilefojing.beans.pojos.enhanced.base.BaseEnhanced;
import com.jilefojing.beans.pojos.DBuddhism;

/**
 * 
 * @author 作者 jgshun
 * @date   创建时间 2016年10月06日 23时59分44秒
 */
public class EnhancedDBuddhism extends BaseEnhanced {
	public EnhancedDBuddhism(DBuddhism dBuddhism){
		//TODO 自动生成 细微误差自己调整
			 		if (dBuddhism.getId() != null) {
						this.id = dBuddhism.getId();
					}
					this.name = dBuddhism.getName();
					this.createTime = dBuddhism.getCreateTime();
					this.coverUrl = dBuddhism.getCoverUrl();
			 		if (dBuddhism.getSort() != null) {
						this.sort = dBuddhism.getSort();
					}
	}

	public EnhancedDBuddhism(){}

			private long id;
			private String name;
			private Date createTime;
			private String coverUrl;
			private double sort;
	
			public long getId() {
				return id;
			}
			public void  setId(long id) {
				this.id = id;
			}
			public String getName() {
				return name;
			}
			public void  setName(String name) {
				this.name = name;
			}
			public Date getCreateTime() {
				return createTime;
			}
			public void  setCreateTime(Date createTime) {
				this.createTime = createTime;
			}
			public String getCoverUrl() {
				return coverUrl;
			}
			public void  setCoverUrl(String coverUrl) {
				this.coverUrl = coverUrl;
			}
			public double getSort() {
				return sort;
			}
			public void  setSort(double sort) {
				this.sort = sort;
			}
	
	
	
}